<?php
require_once __DIR__ . '/init.php';

if (PHP_SAPI !== 'cli') {
    exit("You must run the CLI environment\n");
}
// 永不超时
ini_set('max_execution_time', 0);
set_time_limit(0);

/**
 * 完整示例
 */
//use Yaf\Application;
//use Yaf\Request\Simple;
//
//$app = new Application(APPLICATION_PATH . "/conf/application.ini", ini_get('yaf.environ'));
//$app->bootstrap();
//$app->getDispatcher()->dispatch(new Simple('GET', 'Index', 'Index', 'index'));
